package com.longma.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class InspectionRecordDTO{

    @ApiModelProperty(value = "负责人id")
    @NotNull(message = "负责人id不能为空")
    private Integer mainPersonId;

    @ApiModelProperty(value = "协作人id")
    private Integer corPersonId;

    @ApiModelProperty(value = "是否完成")
    @NotNull(message = "是否完成不能为空")
    private Integer isFinished;

    @ApiModelProperty(value = "备注")
    private String note;

}
